﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="PaperCountUserList.aspx.cs"
    Inherits="sysadmin_CountManager_PaperCountUserList" %>

<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>试卷统计</title>
    <link href="../../css/default.css" type="text/css" rel="stylesheet" />
    <style type="text/css">
.{
    font-size:12px
 }
</style>
</head>
<body >
    <form id="form1" runat="server">
        <table width="100%" border="0" cellpadding="0" cellspacing="0" class="colorbg">
            <tr>
                <th>
                    <img src="../../images/dh.gif" width="18" height="18" alt="" /></th>
                <td>
                    您的位置:后台管理 &gt; 统计查询 &gt; 试卷统计
                </td>
            </tr>
        </table>
        <br />
        <table class="talbe-rearch" border="0" cellpadding="0" cellspacing="0">
            <tr>
                <th>
                    试卷名称</th>
                <td>
                    <asp:Label ID="lab_PaperName" runat="server" Text="lab_PaperName"></asp:Label></td>
            </tr>
            <tr>
                <th>
                    帐户</th>
                <td>
                    <asp:TextBox ID="txt_UserName" runat="server"></asp:TextBox>
                    <asp:Button ID="btnSearch" runat="server" CssClass="mybuttons" Text="试卷搜索" OnClick="btnSearch_Click" />
                    <asp:Button ID="btnExport" runat="server" CssClass="mybuttons" Text="导出报表" OnClick="btnExport_Click" />
                    <asp:Button ID="btnPrinter" runat="server" CssClass="mybuttons" Text="打印本页" />
                    <asp:Button ID="btnExport_All" runat="server" CssClass="mybuttons" OnClick="btnExport_All_Click"
                        Text="导出全部" /></td>
            </tr>
        </table>
        <br />
        <table width="100%" border="0" cellpadding="0" cellspacing="0">
            <tr>
                <td>
                    <asp:GridView ID="gvUserPaperList" runat="server"  AutoGenerateColumns="False"
                        OnRowDataBound="gvUserPaperList_RowDataBound" GridLines="None"  BorderWidth="0px" CssClass="List-GridView">
                        <Columns>
                            <asp:BoundField DataField="UserID" HeaderText="用户ID" />
                            <asp:BoundField DataField="UserName" HeaderText="姓名" />
                            <asp:BoundField DataField="ProjectName" HeaderText="方案名称" />
                            <asp:BoundField DataField="ClassName" HeaderText="班级名称" />
                            <asp:BoundField DataField="PaperStateDate" HeaderText="开始时间" />
                            <asp:BoundField DataField="SubmitDate" HeaderText="结束时间" />
                            <asp:BoundField DataField="PaperScore" HeaderText="得分" />
                        </Columns>
                        <EmptyDataTemplate>
                            <%=GetLanageValueByKey("msg_Page_Nodate", PowerCreator.LMS.Language.LanagetItemType.Page)%>
                        </EmptyDataTemplate>
                    </asp:GridView>
                </td>
            </tr>
            <tr>
                <td align="Center">
                    <webdiyer:AspNetPager ID="AspNetPager1" runat="server" HorizontalAlign="Center"
                        OnPageChanged="AspNetPager1_PageChanged" ShowCustomInfoSection="Left" Width="100%"
                        meta:resourceKey="AspNetPager1" Style="font-size: 14px" InputBoxStyle="width:19px"
                        CustomInfoHTML="当前页  <font color='red'><b>%CurrentPageIndex%</b></font> 总页数  %PageCount%  当前条数 %StartRecordIndex%-%EndRecordIndex%" FirstPageText="首页" LastPageText="末页" NextPageText="下一页" PrevPageText="上一页">
                    </webdiyer:AspNetPager>
                </td>
            </tr>
        </table>
    </form>
</body>
</html>
